#coding:utf-8
# print "tetst".replace("tet", "testestete")

def loadTargetFile(filename):
	test_set = set()
	with open(filename, "r") as f:
		print "[*]Load target file..."
		for i in f.readlines():
			test_set.add(i.replace("\n",""))

	print "[*]Finish..."
	return test_set


if __name__ == '__main__':
	print loadTargetFile2("x.txt")